package com.example.demo_videos.service;

import com.example.demo_videos.pojo.Comment;

import java.util.List;

public interface CommentService {

    /**
     * 插入一条评论
     * @param comment
     * @return
     */
     int insertDoc(Comment comment);

    /**
     * 查询所有文档
     * @return
     */
    List<Comment> selectDoc();
}
